package com.example.demo.异常;

import org.springframework.web.bind.annotation.ControllerAdvice;
import org.springframework.web.bind.annotation.ExceptionHandler;

import java.util.concurrent.locks.Condition;
import java.util.concurrent.locks.Lock;
import java.util.concurrent.locks.ReentrantLock;


public class MyException extends Exception {

    public void MyExceptionHandler() {
        System.out.println("我的自定义异常");
    }
}
